<gn-dialog (onConfirm)="confirm()" [customConfirm]="true" title="角色">
  <mat-checkbox gnCheckBox *ngFor="let role of roles" [value]="role.id"
                [(values)]="selectedRoles">{{role.name}}</mat-checkbox>
</gn-dialog>

